<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Docs For Class Html</title>
	<link rel="stylesheet" type="text/css" href="../../media/style.css">
	<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
	<td class="header-top-left"><img src="../../media/logo.png" border="0" alt="phpDocumentor " /></td>
    <td class="header-top-right">Buan<br /><div class="header-top-right-subpackage">ViewHelper</div></td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td colspan="2" class="header-menu">
      
                        
                      		[ <a href="../../classtrees_Buan.html" class="menu">class tree: Buan</a> ]
		[ <a href="../../elementindex_Buan.html" class="menu">index: Buan</a> ]
            [ <a href="../../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td colspan="2" class="header-line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="195" class="menu">
		<div class="package-title">Buan</div>
  <div class="package">
	<div id="todolist">
			<p><a href="../../todolist.html">Todo List</a></p>
	</div>
	</div>
      <b>Packages:</b><br />
  <div class="package">
              <a href="../../li_Buan.html">Buan</a><br />
      	</div>
      <br />
                        <b>Files:</b><br />
        <div class="package">
				<span style="padding-left: 1em;"><a href="../../Buan/_BuanAutoLoader.php.html">BuanAutoLoader.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanConfig.php.html">BuanConfig.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanController.php.html">BuanController.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanCore.php.html">BuanCore.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanDatabase.php.html">BuanDatabase.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanException.php.html">BuanException.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanExtension.php.html">BuanExtension.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanInflector.php.html">BuanInflector.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModel.php.html">BuanModel.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModelCollection.php.html">BuanModelCollection.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModelCriteria.php.html">BuanModelCriteria.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModelCriteriaGroup.php.html">BuanModelCriteriaGroup.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModelManager.php.html">BuanModelManager.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModelRelation.php.html">BuanModelRelation.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanModelTracker.php.html">BuanModelTracker.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanObject.php.html">BuanObject.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanPdoStatementWrapper.php.html">BuanPdoStatementWrapper.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanPdoWrapper.php.html">BuanPdoWrapper.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanSystemLog.php.html">BuanSystemLog.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanSystemLogEntry.php.html">BuanSystemLogEntry.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanUrlCommand.php.html">BuanUrlCommand.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/_BuanView.php.html">BuanView.php</a></span><br />
	  </div>
  <div class="package">
	<strong>ViewHelper</strong><br />			<span style="padding-left: 1em;"><a href="../../Buan/ViewHelper/_view-helper---BuanViewHelperHtml.php.html">BuanViewHelperHtml.php</a></span><br />
			<span style="padding-left: 1em;"><a href="../../Buan/ViewHelper/_view-helper---BuanViewHelperI18n.php.html">BuanViewHelperI18n.php</a></span><br />
	  </div>
            <br />
                  <b>Classes:</b><br />
        <div class="package">
		    		<a href="../../Buan/AutoLoader.html">AutoLoader</a>    	 <br />
	    		<a href="../../Buan/Config.html">Config</a>    	 <br />
	    		<a href="../../Buan/Controller.html">Controller</a>    	 <br />
	    		<a href="../../Buan/Core.html">Core</a>    	 <br />
	    		<a href="../../Buan/Database.html">Database</a>    	 <br />
	    		<a href="../../Buan/Exception.html">Exception</a>    	 <br />
	    		<a href="../../Buan/Extension.html">Extension</a>    	 <br />
	    		<a href="../../Buan/Inflector.html">Inflector</a>    	 <br />
	    		<a href="../../Buan/Model.html">Model</a>    	 <br />
	    		<a href="../../Buan/ModelCollection.html">ModelCollection</a>    	 <br />
	    		<a href="../../Buan/ModelCriteria.html">ModelCriteria</a>    	 <br />
	    		<a href="../../Buan/ModelCriteriaGroup.html">ModelCriteriaGroup</a>    	 <br />
	    		<a href="../../Buan/ModelManager.html">ModelManager</a>    	 <br />
	    		<a href="../../Buan/ModelRelation.html">ModelRelation</a>    	 <br />
	    		<a href="../../Buan/ModelTracker.html">ModelTracker</a>    	 <br />
	    		<a href="../../Buan/Object.html">Object</a>    	 <br />
	    		<a href="../../Buan/PdoStatementWrapper.html">PdoStatementWrapper</a>    	 <br />
	    		<a href="../../Buan/PdoWrapper.html">PdoWrapper</a>    	 <br />
	    		<a href="../../Buan/SystemLog.html">SystemLog</a>    	 <br />
	    		<a href="../../Buan/SystemLogEntry.html">SystemLogEntry</a>    	 <br />
	    		<a href="../../Buan/UrlCommand.html">UrlCommand</a>    	 <br />
	    		<a href="../../Buan/View.html">View</a>    	 <br />
	  </div>
  <div class="package">
	ViewHelper<br />	    <span style="padding-left: 1em;">		<a href="../../Buan/ViewHelper/Html.html">Html</a>    </span>	 <br />
	    <span style="padding-left: 1em;">		<a href="../../Buan/ViewHelper/I18n.html">I18n</a>    </span>	 <br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: Html</h1>
Source Location: /view-helper/BuanViewHelperHtml.php<br /><br />

<h2 class="class-name">Class Html</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Class Overview</div>
	<div class="nav-bar">
					<span class="disabled">Class Overview</span>
						
											| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
														| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
								</div>
	<div class="info-box-body">
		<table width="100%" border="0">
		<tr><td valign="top" width="60%" class="class-overview">

        		<p align="center" class="short-description"><strong>Provides a number of methods specific to HTML Views.
</strong></p>
<span class="description"><p>Example usage (from with your custom View class' constructor):  <ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><span class="src-id">html&nbsp;</span>=&nbsp;<span class="src-key">new&nbsp;</span><span class="src-id">Buan</span>\<span class="src-id">ViewHelper</span>\<span class="src-id"><a href="../../Buan/ViewHelper/Html.html">Html</a></span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>Example usage to add CSS/JS sources to your template:  <ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><span class="src-id">html</span><span class="src-sym">-&gt;</span><a href="../../Buan/ViewHelper/Html.html#methodaddStylesheets">addStylesheets</a><span class="src-sym">(</span><span class="src-str">'/path/to/file.css'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'/path/to/another.css'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p><p>Example usage to render the CSS/JS &lt;link&gt;/&lt;script&gt; tags in your template:  <ol><li><div class="src-line">&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;<span class="src-var">$this</span><span class="src-sym">-&gt;</span><span class="src-id">html</span><span class="src-sym">-&gt;</span><a href="../../Buan/ViewHelper/Html.html#methodgetStylesheetsView">getStylesheetsView</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><span class="src-id">renderAfter</span><span class="src-sym">(</span><span class="src-var">$this</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p></span>
		<p class="notes">
			Located in <a class="field" href="_view-helper---BuanViewHelperHtml.php.html">/view-helper/BuanViewHelperHtml.php</a> [<span class="field">line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a24">24</a></span>]
		</p>

		
		<pre></pre>

		
		
		
		</td>

				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_vars">Properties</a></strong></p>
		<ul>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#var$javascripts">$javascripts</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#var$javascriptsView">$javascriptsView</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#var$stylesheets">$stylesheets</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#var$stylesheetsView">$stylesheetsView</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#var$urlSuffix">$urlSuffix</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#var$view">$view</a></li>
		  		</ul>
		</td>
		
				<td valign="top" width="20%" class="class-overview">
		<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
		<ul>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#method__construct">__construct</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methodaddJavascripts">addJavascripts</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methodaddStylesheets">addStylesheets</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methode">e</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methodeUrl">eUrl</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methodgetJavascriptsView">getJavascriptsView</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methodgetStylesheetsView">getStylesheetsView</a></li>
		  		  <li><a href="../../Buan/ViewHelper/Html.html#methodsetUrlSuffix">setUrlSuffix</a></li>
		  		</ul>
		</td>
		
		</tr></table>
		<div class="top">[ <a href="#top">Top</a> ]</div>
	</div>
</div>




	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Property Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
									| <span class="disabled">Property Summary</span> | <a href="#sec-vars">Properties Detail</a>
												| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
							    				</div>
		<div class="info-box-body">
			<div class="var-summary">
			<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
																																																	<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">array</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$javascripts" title="details" class="var-name-summary">$javascripts</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">List of external Javascript sources (relative to document-root).</td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">Buan\View</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$javascriptsView" title="details" class="var-name-summary">$javascriptsView</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">The View that will be used to render the Javascript sources to $view. The  class used by this instance is the same as that used by $this-&gt;view.</td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">array</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$stylesheets" title="details" class="var-name-summary">$stylesheets</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">List of external stylesheet sources (relative to document-root).</td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">Buan\View</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$stylesheetsView" title="details" class="var-name-summary">$stylesheetsView</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">The View that will be used to render the stylesheet sources to $view. The  class used by this instance is the same as that used by $this-&gt;view.</td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">string</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$urlSuffix" title="details" class="var-name-summary">$urlSuffix</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">If you want all URLS generated by ::eUrl() to be suffixed with a string  (eg. &quot;.html&quot;), then set that suffix here.</td></tr>
				</div>
													<div class="var-title">
					<tr><td class="var-title"><span class="var-type-summary">Buan\View</span>&nbsp;&nbsp;</td>
					<td class="var-title"><a href="#$view" title="details" class="var-name-summary">$view</a>&nbsp;&nbsp;</td>
					<td class="var-summary-description">The View instance to which this helper is attached.</td></tr>
				</div>
										</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
							    					| <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
		</div>
		<div class="info-box-body">
			<div class="method-summary">
				<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
																																																																																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">Buan\ViewHelper\Html</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#__construct" title="details" class="method-name">__construct</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Constructor</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#addJavascripts" title="details" class="method-name">addJavascripts</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Adds external Javascript sources to the View.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#addStylesheets" title="details" class="method-name">addStylesheets</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Adds external stylesheet sources to the View.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">string|void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#e" title="details" class="method-name">e</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Echos/returns the given string after converting applicable characters into  their HTML entitiy equivalents.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">string|void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#eUrl" title="details" class="method-name">eUrl</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Echos/returns the given string after converting applicable characters into  their HTML entitiy equivalents and adding the suffix defined in  $this-&gt;urlSuffix.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">Buan\View</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getJavascriptsView" title="details" class="method-name">getJavascriptsView</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Returns a View that generates the &lt;script&gt; nodes for each Javascript  resource when rendered.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">Buan\View</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#getStylesheetsView" title="details" class="method-name">getStylesheetsView</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Returns a View that generates the &lt;link&gt; nodes for each stylesheet resource  when rendered.</td></tr>
				</div>
																<div class="method-definition">
											<tr><td class="method-definition"><span class="method-result">void</span>&nbsp;&nbsp;</td>
										<td class="method-definition"><a href="#setUrlSuffix" title="details" class="method-name">setUrlSuffix</a>()&nbsp;&nbsp;</td>
					<td class="method-definition">Sets the URL suffix that will be appended to URLs generated by $this-&gt;eUrl()</td></tr>
				</div>
												</table>
			</div>
			<br /><div class="top">[ <a href="#top">Top</a> ]</div>
		</div>
	</div>

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Properties</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
													| <a href="#sec-var-summary">Property Summary</a> | <span class="disabled">Properties Detail</span>
															| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
												</div>
		<div class="info-box-body">
			<a name="var$javascripts" id="$javascripts"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>&nbsp;&nbsp;
			<span class="var-name">$javascripts</span>
			 = <span class="var-default">array()</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a31">31</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>List of external Javascript sources (relative to document-root).
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$javascriptsView" id="$javascriptsView"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Buan\View</span>&nbsp;&nbsp;
			<span class="var-name">$javascriptsView</span>
						<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a39">39</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The View that will be used to render the Javascript sources to $view. The  class used by this instance is the same as that used by $this-&gt;view.
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$stylesheets" id="$stylesheets"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>&nbsp;&nbsp;
			<span class="var-name">$stylesheets</span>
			 = <span class="var-default">array()</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a46">46</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>List of external stylesheet sources (relative to document-root).
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$stylesheetsView" id="$stylesheetsView"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Buan\View</span>&nbsp;&nbsp;
			<span class="var-name">$stylesheetsView</span>
						<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a54">54</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The View that will be used to render the stylesheet sources to $view. The  class used by this instance is the same as that used by $this-&gt;view.
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$urlSuffix" id="$urlSuffix"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>&nbsp;&nbsp;
			<span class="var-name">$urlSuffix</span>
			 = <span class="var-default"> ''</span>			<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a65">65</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>If you want all URLS generated by ::eUrl() to be suffixed with a string  (eg. &quot;.html&quot;), then set that suffix here.
</strong></p>
<span class="description"><p>Note that the suffix will be visible in the [app.command.requested] config  variable so it's your application's responsibility to strip this suffix from  the URL and re-store it in [app.command.requested].</p></span>	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$view" id="$view"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Buan\View</span>&nbsp;&nbsp;
			<span class="var-name">$view</span>
						<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a72">72</a>]</span>
		</span>
	</div>

	<p align="center" class="short-description"><strong>The View instance to which this helper is attached.
</strong></p>
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>private</td>
  </tr>
</table>
<br />


	
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>

	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Class Overview</a>
																		| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
																	| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
					</div>
		<div class="info-box-body">
			<a name='method_detail'></a>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">Constructor __construct</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a80">80</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>Buan\ViewHelper\Html __construct(
Buan\View
$view&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Constructor
</strong></p>

			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">Buan\View</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$view:&nbsp;</span></td>
				<td>
				<span class="var-description"> The View to which this helper is being attached</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodaddJavascripts" id="addJavascripts"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">addJavascripts</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a140">140</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void addJavascripts(
string
$src,...&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Adds external Javascript sources to the View.
</strong></p>
<span class="description"><p><ol><li><div class="src-line">&nbsp;<span class="src-var">$html</span><span class="src-sym">-&gt;</span><a href="../../Buan/ViewHelper/Html.html#methodaddJavascripts">addJavascripts</a><span class="src-sym">(</span><span class="src-str">'/js/resource1.js'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'/js/resource2.js'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$src,...:&nbsp;</span></td>
				<td>
				<span class="var-description"> Unlimited list of external Javascript URLs</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodaddStylesheets" id="addStylesheets"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">addStylesheets</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a173">173</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void addStylesheets(
string
$src,...&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Adds external stylesheet sources to the View.
</strong></p>
<span class="description"><p>The first argument given is special and can take the form of either a URL or  one of the following key phrases: screen | print | all | screen,print</p><p>If one of these phrases is used then it will be included in the &quot;media&quot;  attribute of the &lt;link&gt; nodes.</p><p><ol><li><div class="src-line">&nbsp;<span class="src-var">$html</span><span class="src-sym">-&gt;</span><a href="../../Buan/ViewHelper/Html.html#methodaddStylesheets">addStylesheets</a><span class="src-sym">(</span><span class="src-str">'/css/resource1.css'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'/css/resource2.css'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line">&nbsp;<span class="src-var">$html</span><span class="src-sym">-&gt;</span><a href="../../Buan/ViewHelper/Html.html#methodaddStylesheets">addStylesheets</a><span class="src-sym">(</span><span class="src-str">'print'</span><span class="src-sym">,&nbsp;</span><span class="src-str">'/css/resource3.css'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></p></span>
			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$src,...:&nbsp;</span></td>
				<td>
				<span class="var-description"> Unlimited list of external stylesheet URLs</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methode" id="e"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">e</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a94">94</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>string|void e(
string
$str, [bool
$echo = TRUE]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Echos/returns the given string after converting applicable characters into  their HTML entitiy equivalents.
</strong></p>

			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$str:&nbsp;</span></td>
				<td>
				<span class="var-description"> String to encode</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">bool</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$echo:&nbsp;</span></td>
				<td>
				<span class="var-description"> If TRUE the string is echoed to output, or returned otherwise</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodeUrl" id="eUrl"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">eUrl</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a113">113</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>string|void eUrl(
string
$str, [bool
$echo = TRUE]&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Echos/returns the given string after converting applicable characters into  their HTML entitiy equivalents and adding the suffix defined in  $this-&gt;urlSuffix.
</strong></p>

			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$str:&nbsp;</span></td>
				<td>
				<span class="var-description"> String to convert to a URL</span>			</td></tr>
					<tr><td class="indent">
				<span class="var-type">bool</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$echo:&nbsp;</span></td>
				<td>
				<span class="var-description"> If TRUE the string is echoed to output, or returned otherwise</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetJavascriptsView" id="getJavascriptsView"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">getJavascriptsView</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a208">208</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>Buan\View getJavascriptsView(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Returns a View that generates the &lt;script&gt; nodes for each Javascript  resource when rendered.
</strong></p>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetStylesheetsView" id="getStylesheetsView"><!-- --></a>
<div class="evenrow">

<div class="method-header">
	<span class="method-title">getStylesheetsView</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a223">223</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>Buan\View getStylesheetsView(
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Returns a View that generates the &lt;link&gt; nodes for each stylesheet resource  when rendered.
</strong></p>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodsetUrlSuffix" id="setUrlSuffix"><!-- --></a>
<div class="oddrow">

<div class="method-header">
	<span class="method-title">setUrlSuffix</span>&nbsp;&nbsp;<span class="smalllinenumber">[line <a href="../../__filesource/fsource_Buan_ViewHelper_view-helperBuanViewHelperHtml.php.html#a237">237</a>]</span>
</div>
<br />

	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">&nbsp;
		<code>void setUrlSuffix(
string
$suffix&nbsp;
)</code>
    </td></tr></table>
    </td></tr></table><br /></div>

	<p align="center" class="short-description"><strong>Sets the URL suffix that will be appended to URLs generated by $this-&gt;eUrl()
</strong></p>

			<strong>Parameters:</strong><br />
			<table border="0" cellspacing="0" cellpadding="0">
					<tr><td class="indent">
				<span class="var-type">string</span>&nbsp;&nbsp;</td>
				<td>
				<span class="var-name">$suffix:&nbsp;</span></td>
				<td>
				<span class="var-description"> URL suffix</span>			</td></tr>
				</table>

	<br />
	<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="indent"><strong>Access:</strong>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
<br />


		
		<br />
	<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
		</div>
	</div>


        <div class="credit">
		    <hr class="separator" />
		    Documentation generated on Tue, 04 Aug 2009 19:59:10 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>